package com.qaml.aliyundevopstest.service.impl;

import com.qaml.aliyundevopstest.entity.User;
import com.qaml.aliyundevopstest.mapper.SysUserMapper;
import com.qaml.aliyundevopstest.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author lichengjun
 * @Date 2024/7/19 10:06
 * @Description:
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private SysUserMapper sysUserMapper;

    @Override
    public User getUserByName(String username) {
        return sysUserMapper.getUserByName(username);
    }

    @Override
    public List<User> getUserList() {
        return sysUserMapper.getUserList();
    }
}
